{"ast":null,"code":"var _s = $RefreshSig$();\nimport React from 'react';\nimport { observer } from \"mobx-react-lite\";\nimport { Context } from \"../../index\";\nimport './ContactControl.scss';\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst ContactControl = props => {\n  _s();\n  const {\n    store\n  } = React.useContext(Context);\n  if (props.selfProfile || store.getProfile().id === props.profile.id) {\n    return /*#__PURE__*/_jsxDEV(_Fragment, {}, void 0, false);\n  } else {\n    return /*#__PURE__*/_jsxDEV(_Fragment, {}, void 0, false);\n  }\n};\n_s(ContactControl, \"fWWYyndAah+pK9pcP7nWnrsVVfw=\");\n_c = ContactControl;\nexport default _c2 = observer(ContactControl);\nvar _c, _c2;\n$RefreshReg$(_c, \"ContactControl\");\n$RefreshReg$(_c2, \"%default%\");","map":{"version":3,"names":["React","observer","Context","ContactControl","props","store","useContext","selfProfile","getProfile","id","profile"],"sources":["/data/messenger.client/src/components/ContactControl/index.tsx"],"sourcesContent":["import React from 'react';\nimport {observer} from \"mobx-react-lite\";\nimport {Context} from \"../../index\";\nimport {UserProfileProps} from \"../../models/props/UserProfileProps\";\nimport './ContactControl.scss';\n\nconst ContactControl: React.FC<UserProfileProps> = (props) => {\n    const {store} = React.useContext(Context);\n\n    if (props.selfProfile || store.getProfile().id === props.profile.id) {\n        return (<></>);\n    } else {\n        return (<></>);\n    }\n}\n\nexport default observer(ContactControl);"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,QAAQ,QAAO,iBAAiB;AACxC,SAAQC,OAAO,QAAO,aAAa;AAEnC,OAAO,uBAAuB;AAAC;AAAA;AAE/B,MAAMC,cAA0C,GAAIC,KAAK,IAAK;EAAA;EAC1D,MAAM;IAACC;EAAK,CAAC,GAAGL,KAAK,CAACM,UAAU,CAACJ,OAAO,CAAC;EAEzC,IAAIE,KAAK,CAACG,WAAW,IAAIF,KAAK,CAACG,UAAU,EAAE,CAACC,EAAE,KAAKL,KAAK,CAACM,OAAO,CAACD,EAAE,EAAE;IACjE,oBAAQ,qCAAK;EACjB,CAAC,MAAM;IACH,oBAAQ,qCAAK;EACjB;AACJ,CAAC;AAAA,GARKN,cAA0C;AAAA,KAA1CA,cAA0C;AAUhD,qBAAeF,QAAQ,CAACE,cAAc,CAAC;AAAC;AAAA;AAAA"},"metadata":{},"sourceType":"module"}